/*******************************************************************************
 * Package: com.practice.service
 * Type:    UserService
 * Date:    2023/9/22 16:28
 *
 * Copyright (c) 2023 HUANENG GUICHENG TRUST CORP.,LTD All Rights Reserved.
 *
 * You may not use this file except in compliance with the License.
 *******************************************************************************/
package com.practice.service;

import com.practice.pojo.entity.User;
import com.practice.pojo.vo.UserVO;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * TODO your comment
 *
 * @author Masiyu
 * @date 2023/9/22 16:28
 */
@Transactional
public interface UserService {

    List<User> findAll();
    
    void add(User user);
    
    String login(String name,String pw,String pass);
    
    UserVO getCurrentUser();
}
